package com.lionel.bean;

import java.io.Serializable;
import java.util.Date;

/**
 * @author: liucan
 * @Date: 2019/2/2 16:09
 * @desc:
 **/
public class User extends BaseDomain implements Serializable {
    /**
     * 登录名
     */
    private String loginName;
    /**
     * 密码
     */
    private String password;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别 0 男 1 女
     */
    private Integer sex;

    /**
     * 年龄
     */
    private Integer age;
    /**
     * 角色
     */
    private Long roleId;
    /**
     * 生日
     */
    private Date birthday;
    /**
     * 用户状态(0启用 1禁用)
     */
    private Integer state;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }
    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getLoginName() {
        return loginName;
    }

    public void setLoginName(String loginName) {
        this.loginName = loginName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
